//
//  MCBasicAppEngine.h
//  MCPublicModule
//
//  Created by Mirko on 16/7/4.
//  Copyright © 2016年 Mirko. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HDEasterEggsCenter.h"
#import "HDOperationService.h"
#import "MCBasicVersionCompatibility.h"

@interface MCBasicAppEngine : NSObject

@property (nonatomic, strong) UIWindow *window;

#pragma mark HDEasterEggsCenter
@property (nonatomic, strong) HDEasterEggsCenter *center;

#pragma mark HDOperationService
@property (nonatomic, strong) HDOperationService *service;

#pragma mark MCBasicVersionCompatibility
@property (nonatomic, strong) MCBasicVersionCompatibility *compatibility;


#pragma mark MCBasicAppEngine
+(instancetype) instance;
+(void) startWithEngine:(UIWindow *) window;

+(void) showTostAlert:(NSString *) msg;


@end

@interface MCBasicAppEngine (VersionCompatibility)

-(void) installVersionCompatibility;

@end

@interface MCBasicAppEngine (EasterEggs)

-(void) installEasterEggs;
-(void) openEasterEggs:(BOOL) open;

@end

@interface MCBasicAppEngine (OperationService)

-(void) installOperationService;

@end
